<?php
die('test');
/* Common function for cms */
define('VS_XORCODE',1);
function getVar($name,$isNum=false,$post=false)
{
	global $_POST,$_GET;
	if ( $post == false )
		if ( $isNum == true )
			return trim((!get_magic_quotes_gpc()) ? addslashes(@$_GET[$name]) : intval(@$_GET[$name]));
		else
			return trim((!get_magic_quotes_gpc()) ? addslashes(@$_GET[$name]) : @$_GET[$name]);
	else
		if ( $isNum == true )
			return trim((!get_magic_quotes_gpc()) ? addslashes(@$_POST[$name]) : intval(@$_POST[$name]));
		else
			return trim((!get_magic_quotes_gpc()) ? addslashes(@$_POST[$name]) : @$_POST[$name]);
		
}
/* End common function for cms */
$m = getVar('_m');
$p = getVar('_p');

if ( empty($p) || empty($m) )
{
	header("Location: index.php");
	die();
}

include($info['module_path'] . $m . '/' . $p . '.php');

?>